<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body>
    <div>
        <h2 ng-bind='name'></h2>
        <h1>{{ name }}</h1>
       <input type="text" ng-model='name'>
    </div>
    <script>
       var m = angular.module('hd',[]);
       m.controller('ctrl',['$scope',function($scope){
              //viewModel
              $scope.name='123'
       }])
    </script>
</body>
</html>